import request from '@/utils/request'

export function getPhone() {
  return request({
    url: '/ServicePhone/one',
    method: 'get',
    params: {
      id: 1
    }
  })
}

export function addPhone(Phone) {
  return request({
    url: '/ServicePhone/',
    method: 'post',
    data: {
      servicePhoneId: 1,
      servicePhoneNumber: Phone
    }
  })
}

export function updatePhone(Phone) {
  return request({
    url: '/ServicePhone/',
    method: 'put',
    params: {
      servicePhoneId: 1,
      servicePhoneNumber: Phone
    }
  })
}
